package logic.file;

import java.io.FileNotFoundException;
import java.io.IOException;

import logic.operation.ByteCounter;

public interface IFile {
	public String getName();
	public String getPath();
	public long getSize();
	public void delete();
	public String getFilePermissions();	
	public long getLastModifiedDate();
	public boolean isDirectory();
	public String getType();
	void copyTo(String path) throws IOException;
	void copyTo(String path, ByteCounter bc) throws IOException;
	void open() throws IOException;
	void compress(IFile directory) throws IOException;
}
